﻿// =================================================================== 
// 项目说明
//====================================================================
// 天网软件股份有限公司
// 文件： BS_DATASET_SQL.cs
// 项目名称：企业内部管理信息系统

// 创建时间：2013/3/19
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace TWCommonLib.Model
{
	/// <summary>
	///(BS_DATASET_SQL)数据实体
	/// </summary>
	[Serializable]
	public class BS_DATASET_SQL
	{
		#region 变量定义
		
		///<summary>
		///
		///</summary>
		private int _dATASET_ID;
		
		///<summary>
		///
		///</summary>
		private string _dEPT_ID = String.Empty;
		
		///<summary>
		///
		///</summary>
		private int _dATASET_CLASS;
		
		///<summary>
		///
		///</summary>
		private string _dATASET_NAME = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _dATASET_SQL = String.Empty;
		
		///<summary>
		///
		///</summary>
		private short _hAS_PARAMETER;
		
		///<summary>
		///
		///</summary>
		private short _aLLOW_MODIFY;
		
		///<summary>
		///
		///</summary>
		private int _dATASET_MODE;
		
		///<summary>
		///
		///</summary>
		private string _dATASET_USE = String.Empty;
		
		///<summary>
		///
		///</summary>
		private short _iS_VISIBLE;
		#endregion
		
		#region 构造函数

		///<summary>
		///的构造函数，默认值通过数据库的default取得
		///</summary>
		public BS_DATASET_SQL()
		{
			_hAS_PARAMETER=((0));
			_aLLOW_MODIFY=((0));
			_iS_VISIBLE=((1));
 
		}
		///<summary>
		///
		///</summary>
		public BS_DATASET_SQL
		(
			int dATASET_ID,
			string dEPT_ID,
			int dATASET_CLASS,
			string dATASET_NAME,
			string dATASET_SQL,
			short hAS_PARAMETER,
			short aLLOW_MODIFY,
			int dATASET_MODE,
			string dATASET_USE,
			short iS_VISIBLE
		)
		{
			_dATASET_ID    = dATASET_ID;
			_dEPT_ID       = dEPT_ID;
			_dATASET_CLASS = dATASET_CLASS;
			_dATASET_NAME  = dATASET_NAME;
			_dATASET_SQL   = dATASET_SQL;
			_hAS_PARAMETER = hAS_PARAMETER;
			_aLLOW_MODIFY  = aLLOW_MODIFY;
			_dATASET_MODE  = dATASET_MODE;
			_dATASET_USE   = dATASET_USE;
			_iS_VISIBLE    = iS_VISIBLE;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///
		///</summary>
		public int DATASET_ID
		{
			get {return _dATASET_ID;}
			set {_dATASET_ID = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DEPT_ID
		{
			get {return _dEPT_ID;}
			set {_dEPT_ID = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int DATASET_CLASS
		{
			get {return _dATASET_CLASS;}
			set {_dATASET_CLASS = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DATASET_NAME
		{
			get {return _dATASET_NAME;}
			set {_dATASET_NAME = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DATASET_SQL
		{
			get {return _dATASET_SQL;}
			set {_dATASET_SQL = value;}
		}

		
		///<summary>
		///
		///</summary>
		public short HAS_PARAMETER
		{
			get {return _hAS_PARAMETER;}
			set {_hAS_PARAMETER = value;}
		}

		
		///<summary>
		///
		///</summary>
		public short ALLOW_MODIFY
		{
			get {return _aLLOW_MODIFY;}
			set {_aLLOW_MODIFY = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int DATASET_MODE
		{
			get {return _dATASET_MODE;}
			set {_dATASET_MODE = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string DATASET_USE
		{
			get {return _dATASET_USE;}
			set {_dATASET_USE = value;}
		}

		
		///<summary>
		///
		///</summary>
		public short IS_VISIBLE
		{
			get {return _iS_VISIBLE;}
			set {_iS_VISIBLE = value;}
		}
	
		#endregion
		
	}
}
